<template>
  <!-- 描述标题小组件 -->
  <p class="descTitle">
    <a-icon type="down" class="icon" />
    <span class="xing">*</span>
    <span class="text">{{ text }}</span>
  </p>
</template>
<script>
export default {
  props: {
    text: {
      type: String,
      default: ''
    }
  }
}
</script>
<style lang="less" scoped>
.descTitle {
  .icon {
    color: #ee7a2e;
    font-size: 20px;
    font-weight: bold;
  }
  .xing {
    margin-left: 5px;
    color: red;
  }
  .text {
    margin-left: 5px;
  }
}
</style>
